package com.v2future.sjt.collegecheckingattendance.utils;

import android.content.Context;

import java.util.Properties;

public class PropertiesUtil {
	
	public static String getPropertiesURL(Context c, String s) {
		  String content = null;
		  Properties properties = new Properties();
		  try {
			  properties.load(c.getAssets().open("appConfig.properties"));
			  content = properties.getProperty(s);
		  } 
		  catch (Exception e) {
			  e.printStackTrace();
		  }
		  return content;
		  }
}
